@echo off
echo Setting up MonitorPlatform...

REM Build all projects
dotnet build

REM Restore packages
dotnet restore

REM Setup database (requires Docker)
docker-compose -f docker/docker-compose.yml up -d postgres

REM Wait for database to be ready
timeout /t 10

REM Run migrations (if any)
REM dotnet ef database update --project src/MonitorPlatform.Data

echo Setup completed!
echo Run 'docker-compose -f docker/docker-compose.yml up' to start all services
pause
